function getRawArray(code) {
    rawArray = new Array()
    let partten = /<input.*?>/g
    var result = partten.exec(code)
    while (result != null) {
        rawArray.push(result[0])
        result = partten.exec(code)
    }
    let parttenType = /type=".*?"/
    let parttenValve = /value=".*?"/
    let parttenName = /name=".*?"/
    let parttenPlaceholder = /placeholder=".*?"/
    var amount = rawArray.length
    var i = 0
    var tempArray = new Array()
    while (i < amount) {
        temp = rawArray[i]
        var typeTest = temp.match(parttenType)
        var vlaueTest = temp.match(parttenValve)
        var nameTest = temp.match(parttenName)
        if (typeTest != null) {
            switch (typeTest[0]) {
                case 'type="text"':
                    var u = temp.match(parttenPlaceholder)
                    var v = nameTest[0]
                    u = u[0].replace("placeholder=\"", "")
                    u = u.replace("\"", "")
                    v = v.replace("name=\"", "")
                    v = v.replace("\"", "")
                    tempArray = [0, u, v]
                    rawArray[i] = tempArray
                    i++
                    break;
                case 'type="radio"':
                    var u = vlaueTest[0]
                    var v = nameTest[0]
                    u = u.replace("value=\"", "")
                    u = u.replace("\"", "")
                    v = v.replace("name=\"", "")
                    v = v.replace("\"", "")
                    tempArray = [1, u, v]
                    rawArray[i] = tempArray
                    i++
                    break;
                case 'type="checkbox"':
                    var u = vlaueTest[0]
                    var v = nameTest[0]
                    u = u.replace("value=\"", "")
                    u = u.replace("\"", "")
                    v = v.replace("name=\"", "")
                    v = v.replace("\"", "")
                    tempArray = [2, u, v]
                    rawArray[i] = tempArray
                    i++
                    break;
                default:
                    return typeTest
                    break;
            }
        }
    }
    return rawArray
}